#ifndef COMMON_H
#define COMMON_H

#include <QSqlDatabase>
#include <QSqlQuery>
#include <QDebug>

enum Status
{
    Load,
    Ready,
    Playing,
    Pause,
};

struct UserModel
{
     QString name;
     int fontsize;
     int difficulty;
     int touch;
     int maxscore;
     int isUsing;
     QString addTime;
};

struct MusicModel
{
    QString name;
    QString path;
    int isDelete;
};

struct RankModel
{
    QString table;
    int keyId;
    QString name;
    int score;
};

#endif // COMMON_H
